/*
 * @Author: 颜礼田 2564217790@qq.com
 * @Date: 2024-09-07 09:47:53
 * @LastEditors: MrDotYan 2564217790@qq.com
 * @LastEditTime: 2024-09-12 15:19:52
 * @FilePath: /webServer/src/middleware/index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { JwtPassportMiddleware } from './jwt.middleware';
import { ReportMiddleware } from './report.middleware';
import { RequestMiddleware } from './request.middleware';
import { ResponseMiddleware } from './response.middleware';
import { UploadMiddleware } from '@midwayjs/busboy';

export const middlewares = [
  ReportMiddleware,
  ResponseMiddleware,
  JwtPassportMiddleware,
  RequestMiddleware,
  UploadMiddleware,
];
